#pragma once

#include "API.h"
#include "Board.h"

namespace snake
{

  /**
    Interface IGameStateLoader - entity to load game state from incoming message from the server
  */
  struct SNAKE_API IGameStateLoader
  {
    virtual ~IGameStateLoader() {}

    virtual Board LoadBoard(const std::wstring &message) = 0;
  };

}